package com.yike.user.service;

import com.yike.user.entity.ShopUser;
import com.yike.user.param.ShopUserPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 店铺用户表 服务类
 *
 * @author Sakura
 * @since 2024-08-26
 */
public interface ShopUserService extends BaseService<ShopUser> {

    /**
     * 保存
     *
     * @param shopUser
     * @return
     * @throws Exception
     */
    boolean saveShopUser(ShopUser shopUser) throws Exception;

    /**
     * 修改
     *
     * @param shopUser
     * @return
     * @throws Exception
     */
    boolean updateShopUser(ShopUser shopUser) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteShopUser(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param shopUserPageParam
     * @return
     * @throws Exception
     */
    Paging<ShopUser> getShopUserPageList(ShopUserPageParam shopUserPageParam) throws Exception;

}
